Re: what am I doing wrong? PHP5 on Fedora
| From: | tr | Date: | Fri, 31 Dec 2004 00:14:05 +0000 |
| Subject: | Re: what am I doing wrong? PHP5 on Fedora | ||
| References: | 1 2 3 4 5 6 7 8 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-205395@lists.php.net to get a copy of this message | ||
tr wrote / napísal (a):
John Nichel wrote / napísal (a):you system as root: rpm -e apache* Then go to you /etc/init.d/ directory and create a shell script naming httpd_start: containing: #!/bin/bash /usr/local/apachectl start and another shell script naming as httpd_stop containing: /usr/local/apachectl stop go to /etc/rc.d/ and create symlink (ln -s /etc/init.d/httpd_start /etc/rc.d/rc3.d/S27httpd and rc5.d/S27httpd) in dirs rc3.d and rc5.d pointing to /etc/init.d/httpd_start naming S27httpd and then restart and it should work.blackwater dev wrote:as root switch to htdocs and chmod 666 info.php troby It is also recomended to remove the apache binary rpm packages fromI just went ahead and installed apache from source with apxs then recompiled php5. I then created a info.php file which simply prints out phpinfo but get this error now. Warning: Unknown: failed to open stream: Permission denied in Unknown on line 0 Warning: Unknown: Failed opening '/usr/local/apache2/htdocs/info.php' for inclusion (include_path='.:/usr/local/lib/php') in Unknown on line 0 Thanks!*sigh* http://groups-beta.google.com/groups?hl=en&q=%22Permission+denied+in+Unknown+on+line+0%22&qt_s=Search+Groups http://www.linuxquestions.org/questions/history/211964
you can set permissions recursively this way: chmod -R 666 /usr/local/apache/htdocs (to doc root)hello troby