You are not logged in.
After the latest Arch upgrade I cannot find the php module.
Yes, I did read the posting by Pierre about the new PHP 5.3 where it indicates that the module path has changed to: module path is now /usr/lib/php/modules
That's neat and dandy except there is no mod_php.so there.
I then decided to read in the wiki, perhaps some explanation would be found so I went here: http://wiki.archlinux.org/index.php/PHP and tried to follow this setup just to find that in Arch there is no such thing as:lib/apache/mod_fcgid.so
So, the question is: has someone figured out how to make PHP go after this upgrade ... and if so can you enlighten me? I cannot make PHP go.
Thanks.
R.
Last edited by ralvez (2009-09-26 20:37:09)
Offline
You did not read the news item.
OK, I am a little mean here: you need to install php-apache.
Offline
/usr/lib/httpd/modules/libphp5.so
Last edited by Nuz (2009-09-26 18:47:48)
Arch64 | some tiling wm
Offline
You did not read the news item.
OK, I am a little mean here: you need to install php-apache.
Well ... actually I *did* read the news ... but I made the mistake of assuming that if my configuration had php and mysql both would be added
I read another thread where someone posted a similar problem and realized that I had to get php-apache. PHP is now working but now mysql "is upset".
It may be a configuration thing though because there is no module php-mysql so I'm assuming I need to do some adjustments somewhere in a config file.
R.
p.s: @Nuz, Thanks for posting !! I did knew the directory it was that the PHP library was not there.
Last edited by ralvez (2009-09-26 20:39:19)
Offline
OK. I figured MySQL.
Adding the full path to the module in /etc/php/php.ini works.
Thank you all!!
R.
Offline
That shouldn't be needed if you set the module_path as suggested in the news item.
Offline
I needed to add the full path as well, somehow it doesn't work without it.
Last edited by moljac024 (2009-09-27 12:21:00)
The day Microsoft makes a product that doesn't suck, is the day they make a vacuum cleaner.
--------------------------------------------------------------------------------------------------------------
But if they tell you that I've lost my mind, maybe it's not gone just a little hard to find...
Offline
No, make sure to set this: extension_dir = "/usr/lib/php/modules/"
Offline
That is set but yet mysql.so can't be loaded without the full path specified
The day Microsoft makes a product that doesn't suck, is the day they make a vacuum cleaner.
--------------------------------------------------------------------------------------------------------------
But if they tell you that I've lost my mind, maybe it's not gone just a little hard to find...
Offline
Hmm, I cannot believe this. Could you try this with the php.ini provided by the package?
Offline
I am using the php.ini provided by the package
Lol, this just keeps getting better and better doesn't it ?
The day Microsoft makes a product that doesn't suck, is the day they make a vacuum cleaner.
--------------------------------------------------------------------------------------------------------------
But if they tell you that I've lost my mind, maybe it's not gone just a little hard to find...
Offline
OK, could you attach your php.ini then?
Offline
I didn't change anything from the default one, just uncommented a few extensions:
http://pastebin.com/md06254b
The day Microsoft makes a product that doesn't suck, is the day they make a vacuum cleaner.
--------------------------------------------------------------------------------------------------------------
But if they tell you that I've lost my mind, maybe it's not gone just a little hard to find...
Offline
What's the output of php -m | grep mysql
Offline
bojan ~ $ php -m | grep mysql
mysql
mysqlnd
The day Microsoft makes a product that doesn't suck, is the day they make a vacuum cleaner.
--------------------------------------------------------------------------------------------------------------
But if they tell you that I've lost my mind, maybe it's not gone just a little hard to find...
Offline
So, mysql is loaded successfully.
Offline
Hmm....yes, it appears so. Am I going crazy ? Because it was bitching about it at first unless it was a full path...it's working either way now.
Last edited by moljac024 (2009-09-27 15:38:48)
The day Microsoft makes a product that doesn't suck, is the day they make a vacuum cleaner.
--------------------------------------------------------------------------------------------------------------
But if they tell you that I've lost my mind, maybe it's not gone just a little hard to find...
Offline