Solved

Solaris 10 webstack is not recognising php path

Posted on 2009-07-11
3
380 Views
Last Modified: 2013-12-27
hi
i am trying to deploy my php application on solaris 10 but it doesnt seem to be working the web hosting provider is setting up as virtual path

[Sat Jul 11 11:17:39 2009] [error] [client 10.12.48.253] PHP Notice:  Undefined index:  HTTP_HOST in /var/virtualhosts/web/include/settings.php on line 67

[Sat Jul 11 11:17:39 2009] [error] [client 10.12.48.253] PHP Notice:  Undefined variable: langs in /var/virtualhosts/web/include/settings.php on line 203

[Sat Jul 11 11:17:39 2009] [error] [client 10.12.48.253] PHP Notice:  Undefined variable: lang_id in /var/virtualhosts/web/include/settings.php on line 204

[Sat Jul 11 11:17:39 2009] [error] [client 10.12.48.253] PHP Fatal error:  Call to undefined function is_user_logged_in() in /var/virtualhosts/web/include/islogged.php on line 14
 

NameVirtualHost *:80

NameVirtualHost *:443
 

<VirtualHost *:80>

 ServerName mydomain
 

 DocumentRoot /var/virtualhosts/web
 

 ErrorLog /var/log/httpd/mydomain.error-log

 CustomLog /var/log/httpd/mydomain.access-log combined  
 

 <Directory /var/virtualhosts/web>

  Options All

  Order Allow,Deny

  Allow from All

 </Directory>
 

</VirtualHost>

Open in new window

0
Comment
Question by:mattibutt
  • 2
3 Comments
 
LVL 6

Accepted Solution

by:
javeedabdul earned 500 total points
ID: 24833569
http://www.sun.com/software/webstack/get.jsp


Title:      Enabling additional built-in options in php5 ./configure
http://sunsolve.sun.com/search/document.do?assetkey=1-1-6623222-1

php5 in nevada needs to be compiled with inline and compiler optimizations
http://sunsolve.sun.com/search/document.do?assetkey=1-1-6630663-1

Documentation: About the Sun GlassFish
http://docs.sun.com/app/docs/doc/820-7405/gifzt?l=en&a=view&q=Sun+GlassFish+Web+Stack

This may help you
http://www.netbeans.org/kb/docs/php/webstack.html
0
 
LVL 11

Author Closing Comment

by:mattibutt
ID: 31602465
thanks buddy for your help the hosting company has helped me out it was because of php short tags were disabled but i appreciate your input on this matter
0
 
LVL 6

Expert Comment

by:javeedabdul
ID: 24839342
np

Glad i tried
Thanks
Javeed Abdul
0

Featured Post

Backup Your Microsoft Windows Server®

Backup all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Part of the Global Positioning System A geocode (https://developers.google.com/maps/documentation/geocoding/) is the major subset of a GPS coordinate (http://en.wikipedia.org/wiki/Global_Positioning_System), the other parts being the altitude and t…
This article discusses four methods for overlaying images in a container on a web page
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

895 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now