Welcome to MobyThreads.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in
All support for the MobyThreads Threaded phpBB MOD can now be found on welsolutions at this forum

Php Include Problem

 
   Web Hosting and Web Master Forums (Home) -> Apache RSS
Next:  browser address line not updated  
Author Message
stephengpope

External


Since: Jul 22, 2003
Posts: 1



(Msg. 1) Posted: Tue Jul 22, 2003 10:16 pm
Post subject: Php Include Problem
Archived from groups: alt>apache>configuration, others (more info?)

I have a few php scripts which perform various database queries. Originally
I had them all in the same directory which could be viewed through my apache
web server via http://localhost/admin/. I wanted a couple of the php scripts
to be accessable on their own, so I added another portal to my apache
configuration to allow http://loclahost/test/. I then replicated the entire
/admin/ dir to /test/ with the same permissions and directory structure.
Strangly after doing so, the test setup does not work as wanted. When the
php scripts are run in the test portal, I get include errors. I figured
everything should run smoothly, but obviously not. Please advise if you
have any ideas.

Warning: Failed opening 'php/forms.php' for inclusion
(include_path='.:/usr/share/pear') in
/var/www/test/billing/brule_new_meeting.php on line 12

Warning: Failed opening 'php/database.php' for inclusion
(include_path='.:/usr/share/pear') in
/var/www/test/billing/brule_new_meeting.php on line 13

Fatal error: Call to undefined function: db_open() in /var/www

OS - Linux


Regards,
Steve

 >> Stay informed about: Php Include Problem 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
Apache Server side include character limits - I was wondering if there is a way to change the character limit on a server side include. I was including a page and it cuts off at 32000 characters. is this a default that can be changed? Any help would be great! Corey

adding document include path to working shtml config - adding document include path to working shtml config in Apache 1.3.x I have server side includes working but would like to set a path for include statements to look in --other than current directory--. i.e. If the #include file doesn't insist in....

cgi problem - Background: 1. Program works on real world paid hosting (linux server). 2. Program works on Windows home testing server.(Omnihttpd) Just Installed Red Hat 8.0 . Created cgi-bin for main site using.. ScriptAlias /cgi-bin/ "/path/to/my/site/" an...

apachectl problem - Just installed apache on linux (downloaded binary distribution from apache.org download). Have problems starting apache. After running ./apachectl start I get the following error: [root@localhost bin]# ./apachectl start ../apachectl: line 71:..

I got a problem with Apache & PHP. - First off, I'm trying to get PHP working with Apache. I added this line to my httpd.conf: AddType application/x-httpd-php .php and I have set index.php to the default index page. When I go to my test page (index.php) with a little <? print(Date(&quot...
   Web Hosting and Web Master Forums (Home) -> Apache All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]