Solved

Solaris 10 webstack is not recognising php path

Posted on 2009-07-11
3
384 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Optimize your web performance

What's in the eBook?
- Full list of reasons for poor performance
- Ultimate measures to speed things up
- Primary web monitoring types
- KPIs you should be monitoring in order to increase your ROI

Question has a verified solution.

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

If your site has a few sections that need to be secure when data is transmitted between the server and local computer, such as a /order/ section for ordering or /customer/ which contains customer data, etc it would of course be recommended to secure…
In Solr 4.0 it is possible to atomically (or partially) update individual fields in a document. This article will show the operations possible for atomic updating as well as setting up your Solr instance to be able to perform the actions. One major …
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 get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…

624 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