Page 1 of 1

Need help with PHP

PostPosted: Thu May 29, 2008 3:52 pm
by ramonvel
Hi Guys :?

I've been working on this machine for three days, dealing with php and apache. The PHP page doesn't work. Not with Vicidial, not with a PHP test script. I'm pulling my hair off. I need help please.

Machine is a Dell Poweredge 2550 (2) 1 GHZ , 2GB RAM, RAID 5 (Will be used in a no more than Seven Agents scenario + PBX).

I have tried with Slackware 12 , PHP 4.4.7 & PHP 4.4.8, PHP-5.2.6 , httpd-2.0.61, httpd-2.0.63, httpd-2.2.8 but no luck.

Then I scratched installed Slackware 12.1. Installed appropriate applications, but no positive result.

When I type:

root@voip:/usr/local# httpd -v
Server version: Apache/2.2.8 (Unix)
Server built: Feb 14 2008 15:37:26

Apache/2.2.8 comes up instead of the apache/2.0.63. Could this be the reason is not working. Can you guys help me to resolve it.

Thanks,

P.S. I have installed Vicidial and Slackware on several machines before and I had a little bit of trouble, but I was always able to resolve. This time, however, I don't seem to find a solution. :(

PostPosted: Thu May 29, 2008 4:26 pm
by mflorell
ran into this myself a couple weeks ago, first you should copy off your web pages and httpd.conf and php.ini. Then delete everything related to Apache and PHP and install them again.

Problems with PHP and Apache

PostPosted: Sun Jun 01, 2008 12:36 pm
by ramonvel
Hi Matt,

Hi Guys. Thanks for your help Matt. I followed your recommendation, but I was out of luck. So, I reinstalled Slackware 12.1 and I sticked myself with the Apache 2.2.8 and PHP-5.2.5 already installed with the system. Then, I uncommented the mod_php.conf module. So far, everything is working great.

I also installed eaccelerator, made a small modification to prefix to match that of the original installation, and it's working fine as well. Once I finish the whole installation with Slackware 12.1, I will post my experience with it.

I noticed you recommended Asterisk 1.2.27 on another post. I want to know if the patches added under the "apps" folder (meetme_DMTF,meetme_volume, etc) would still work under 1.2.27.

Thank you for all your help,

PostPosted: Sun Jun 01, 2008 2:19 pm
by mflorell
Yes, the patches will all work with 1.2.27.

Will the Patches under "/apps" work for Asterisk 1

PostPosted: Sun Jun 01, 2008 2:53 pm
by ramonvel
Great Matt,

Thank you,