Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Solaris 10 webstack is not recognising php path

Posted on 2009-07-11
3
Medium Priority
?
385 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 2000 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

Ransomware: The New Cyber Threat & How to Stop It

This infographic explains ransomware, type of malware that blocks access to your files or your systems and holds them hostage until a ransom is paid. It also examines the different types of ransomware and explains what you can do to thwart this sinister online threat.  

Question has a verified solution.

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

Every server (virtual or physical) needs a console: and the console can be provided through hardware directly connected, software for remote connections, local connections, through a KVM, etc. This document explains the different types of consol…
Since pre-biblical times, humans have sought ways to keep secrets, and share the secrets selectively.  This article explores the ways PHP can be used to hide and encrypt information.
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…
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.
Suggested Courses

722 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