Forums / Install & configuration / apache & php.ini problem on linux rh9

apache & php.ini problem on linux rh9

Author Message

Alessandro Cipriani

Monday 08 November 2004 4:12:46 am

hi all
i just installed my site on rh9.
i have root access, and i modified the php.ini file to increase the max_execution_time value form 30 to 240.
then i restarted apache but with no results.
should php and/or apache be installed in specified folders?
apache is linked with no error to the php module.
also if i rename php.ini file and restart apache, it works without problems!! it seems to not read the php.ini values... is it some default values?

best regards
alessandro

Dirk Billerbeck

Tuesday 09 November 2004 2:38:39 am

Hi Alessandro,

do you use the Apache that comes with Red Hat or did you install it yourself? Which php.ini did you change, in which directory?

As far as I remember Red Hat uses a little different directory structure for its version of Apache (known as "httpd" under RH) and PHP.

Try using the tool redhat-config-httpd to configure the PHP module. But it will only work with the Red Hat delivered version of Apache.

cu,

Dirk