473,786 Members | 2,611 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Help installing PHP5

Hello everybody,

I'm new in PHP. I finished the installation(PH P 5.2.5) and
Apache(2.2.8) The servers starts wihtout errors. But when i try to
seeh the test page (< ?php phpinfo() ?>) i see the script, not the
page. and then i press F5 and this message is shown:
Forbidden
You don't have permission to access /Index.php on this server
I made the instal in Win XP, i don't have admin rights so it's a
little more difficult to me.

May somebody helps me. It's my 2d day of fight.
Jun 2 '08 #1
3 1178
On Wed, 23 Apr 2008 12:36:20 -0700 (PDT), CenturionX wrote:
Hello everybody,

I'm new in PHP. I finished the installation(PH P 5.2.5) and
Apache(2.2.8) The servers starts wihtout errors. But when i try to
seeh the test page (< ?php phpinfo() ?>) i see the script, not the
page. and then i press F5 and this message is shown:
Forbidden
You don't have permission to access /Index.php on this server
I made the instal in Win XP, i don't have admin rights so it's a
little more difficult to me.

May somebody helps me. It's my 2d day of fight.
You haven't configured apache correctly to do this. Especially, you
haven't restarted the webserver after adding the LoadModule or missed
the part about adding LoadModule all together.

--
12. One of my advisors will be an average five-year-old child. Any flaws in my
plan that he is able to spot will be corrected before implementation.
--Peter Anspach's list of things to do as an Evil Overlord
Jun 2 '08 #2
Peter H. Coffin wrote:
On Wed, 23 Apr 2008 12:36:20 -0700 (PDT), CenturionX wrote:
>Hello everybody,

I'm new in PHP. I finished the installation(PH P 5.2.5) and
Apache(2.2.8 ) The servers starts wihtout errors. But when i try to
seeh the test page (< ?php phpinfo() ?>) i see the script, not the
page. and then i press F5 and this message is shown:
Forbidden
You don't have permission to access /Index.php on this server
I made the instal in Win XP, i don't have admin rights so it's a
little more difficult to me.

May somebody helps me. It's my 2d day of fight.

You haven't configured apache correctly to do this. Especially, you
haven't restarted the webserver after adding the LoadModule or missed
the part about adding LoadModule all together.
Or, since he doesn't have admin rights, he may not be able to set the
required permissions.

--
=============== ===
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
js*******@attgl obal.net
=============== ===

Jun 2 '08 #3
CenturionX escribió:
I'm new in PHP. I finished the installation(PH P 5.2.5) and
Apache(2.2.8) The servers starts wihtout errors. But when i try to
seeh the test page (< ?php phpinfo() ?>) i see the script, not the
page.
The correct tag is <?php (no spaces between < and ?).

--
-- http://alvaro.es - Álvaro G. Vicario - Burgos, Spain
-- Mi sitio sobre programación web: http://bits.demogracia.com
-- Mi web de humor al baño María: http://www.demogracia.com
--
Jun 2 '08 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
2892
by: michael newport | last post by:
I did the following as instructed in the docs. (see below) everything seemed to install ok and I started apache with no complaints, but, 1)I do not see a process for apache using ps -ef 2) In yast I see that the new apache2 version is installed but not php5, its still on php4 any ideas ??
2
1811
by: Rob Ristroph | last post by:
Has anyone built the PHP5 beta 4 as an apache module ? I am using apache 2. Is there some trick, or missing instructions, or known bug ? Perhaps you have to use some version of apache earlier than 2.0.48, the current latest ? I have built php4 before without problems. After trying a variety of things and never getting a libphp5.so, I am at a loss as to how to go about this. (When I did a configure without using the --with-apxs2,
3
2644
by: Scott Matthews | last post by:
Hey all, I just tried installing PHP5 under IIS for the first time, but I can't seem to get the php.exe to work. I unzipped the package, and pointed the IIS .php 'executable' attribute over to php.exe in the PHP5 folder, but when I then call up a .php page, it just stalls. If I then point the IIS .php executable over to php.exe in the
3
2113
by: Erick Howenstine | last post by:
I'm installing PhP5 on WinXP, with Apache2. In my Apache's httpd.conf file I have added LoadModule php5_module c:/php-5/php5apache2.dll and moved the .ini file to C:/Windows/php.ini Apache works with the php module loaded. When I look at this code with my IE browser: <? phpinfo(); ?> or
3
1640
by: mack | last post by:
I'm trying to get MySQL, Apache, and Php5 to play nice together in Windows but having problems. I don't want to install those automatic 'all-in-one' packages because I want to know how to do it myself. I think I installed Apache correctly because when I type http://localhost in my browser I see my directory, but echo phpinfo() gets me a blank page. Can someone please point me to a resource that explains how to get php5 working? I put...
5
8185
by: bissatch | last post by:
Hi, I am trying to install Apache and PHP. I have installed apache fine where I can type in http://localhost and it displays the default Apache page. When trying to install PHP I have run the installer file which seemed to go OK. It is when configure the Apache httpd.conf file that I get the problem. I have updated the ScriptAlias to read:
19
2433
by: Caesar | last post by:
Hi, I'm wondering if anyone here can point me in the right direction. My host does not provide php, and so I need to pull this data from another server that does support such scripting. Help? JC
1
4729
by: Janne Vuori | last post by:
I have Apache 2.0.54 and PHP 5.0.4 running on XP Professional. Everything is working ok but when I am tryin to add the extension php_ssh2.dll into use the PHP will generate an error message: PHP Warning: PHP Startup: Unable to load dynamic library 'c:/php5/ext/php_ssh2.dll' - The specified module could not be found.\r\n in Unknown on line 0 ON httpd.conf I have LoadModule php5_module "c:/php5/php5apache2.dll" AddType...
5
12930
by: greenflame | last post by:
hello all, I have installed apache and php following the instructions on this link which was very helpful: http://www.tanguay.at/installPhp5.php5 problem: OS: Windows XP
1
4151
by: Gilles Ganault | last post by:
Hello I'd like to play with MemcacheD and see how it improves read access to data, but I'm a bit lost at how to get from a working Apache2 + PHP5 + MySQL5 server on FreeBSD 6.3. I've never used PECL and PEAR before, and they seem required to install MemcacheD. I just ran "make config ; make ; make install" to build the php5 and
0
9650
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9497
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10363
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10164
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10110
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8992
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7515
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
1
4067
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3670
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.