You are not logged in.

#1 2009-09-26 17:41:50

ralvez
Member
From: Canada
Registered: 2005-12-06
Posts: 1,718
Website

where is the PHP module? [SOLVED]

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 neutral ... and if so can you enlighten me? big_smile I cannot make PHP go.

Thanks.

R.

Last edited by ralvez (2009-09-26 20:37:09)

Offline

#2 2009-09-26 17:45:24

Pierre
Developer
From: Bonn
Registered: 2004-07-05
Posts: 1,964
Website

Re: where is the PHP module? [SOLVED]

You did not read the news item. tongue

OK, I am a little mean here: you need to install php-apache.

Offline

#3 2009-09-26 18:47:30

Nuz
Member
From: Latvia
Registered: 2008-11-29
Posts: 50

Re: where is the PHP module? [SOLVED]

/usr/lib/httpd/modules/libphp5.so

Last edited by Nuz (2009-09-26 18:47:48)


Arch64 | some tiling wm

Offline

#4 2009-09-26 20:20:47

ralvez
Member
From: Canada
Registered: 2005-12-06
Posts: 1,718
Website

Re: where is the PHP module? [SOLVED]

Pierre wrote:

You did not read the news item. tongue

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 smile

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

#5 2009-09-26 20:36:44

ralvez
Member
From: Canada
Registered: 2005-12-06
Posts: 1,718
Website

Re: where is the PHP module? [SOLVED]

OK. I figured MySQL.
Adding the full path to the module in /etc/php/php.ini works.

Thank you all!!

R.

Offline

#6 2009-09-27 11:21:37

Pierre
Developer
From: Bonn
Registered: 2004-07-05
Posts: 1,964
Website

Re: where is the PHP module? [SOLVED]

That shouldn't be needed if you set the module_path as suggested in the news item.

Offline

#7 2009-09-27 12:20:51

moljac024
Member
From: Serbia
Registered: 2008-01-29
Posts: 2,676

Re: where is the PHP module? [SOLVED]

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

#8 2009-09-27 12:40:33

Pierre
Developer
From: Bonn
Registered: 2004-07-05
Posts: 1,964
Website

Re: where is the PHP module? [SOLVED]

No, make sure to set this: extension_dir = "/usr/lib/php/modules/"

Offline

#9 2009-09-27 12:57:31

moljac024
Member
From: Serbia
Registered: 2008-01-29
Posts: 2,676

Re: where is the PHP module? [SOLVED]

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

#10 2009-09-27 13:13:41

Pierre
Developer
From: Bonn
Registered: 2004-07-05
Posts: 1,964
Website

Re: where is the PHP module? [SOLVED]

Hmm, I cannot believe this. Could you try this with the php.ini provided by the package?

Offline

#11 2009-09-27 13:45:13

moljac024
Member
From: Serbia
Registered: 2008-01-29
Posts: 2,676

Re: where is the PHP module? [SOLVED]

I am using the php.ini provided by the package big_smile
Lol, this just keeps getting better and better doesn't it ? smile


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

#12 2009-09-27 13:47:37

Pierre
Developer
From: Bonn
Registered: 2004-07-05
Posts: 1,964
Website

Re: where is the PHP module? [SOLVED]

OK, could you attach your php.ini then?

Offline

#13 2009-09-27 14:01:59

moljac024
Member
From: Serbia
Registered: 2008-01-29
Posts: 2,676

Re: where is the PHP module? [SOLVED]

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

#14 2009-09-27 15:03:45

Pierre
Developer
From: Bonn
Registered: 2004-07-05
Posts: 1,964
Website

Re: where is the PHP module? [SOLVED]

What's the output of php -m | grep mysql

Offline

#15 2009-09-27 15:23:17

moljac024
Member
From: Serbia
Registered: 2008-01-29
Posts: 2,676

Re: where is the PHP module? [SOLVED]

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

#16 2009-09-27 15:24:52

Pierre
Developer
From: Bonn
Registered: 2004-07-05
Posts: 1,964
Website

Re: where is the PHP module? [SOLVED]

So, mysql is loaded successfully.

Offline

#17 2009-09-27 15:37:43

moljac024
Member
From: Serbia
Registered: 2008-01-29
Posts: 2,676

Re: where is the PHP module? [SOLVED]

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

Board footer

Powered by FluxBB