osCommerce with Apache HTTP server 2.2 - php

Copy the oscommerce directory to your web server htdocs directory and open the location with >your browser. Setup will automatically
launch and guide you through the installation and configuration of
your new online store.
I copied the said folder into htdocs, in my browser I go to localhost which displays the index.html in the htdocs folder already (just says "it works!"). I do not see the setup launch?
I installed PHP 5, but not sure if I done it right, I just used the MSI installer.

Delete the index.html in that folder and you've done. This answer presume that all the configuration are all right.

Related

Why my localhost is unable to recognize my htdocs in its directory?

I have a problem with my XAMPP server after uninstalling an old version for a new one. I have a problem with executing PHP codes because when I put "localhost/file.php" it says "Object not found" or put the PHP document despite having the Apache server on.
When I access the XAMPP directory from localhost, it's completely empty despite I stored the site in the htdocs folder. And if you ask, the xampp folder's location is C:/xampp/. And I did put an .htaccess file in my file's directory.
Here's a screenshot:
xampp -> apache -> config -> apache(httpd.conf) and search DocumentRoot and Directory.
see there what link is set.
Giving localhost in the browser address bar refers to htdocs folder.
As we can see the address as localhost/xampp i.e you are refering to htdocs/xampp
if you have stored your file in htdocs root folder, then give the address as localhost

Socialengine php Installation error

I am struggling with socialengine php installation to my private server. I already have it hosted but want to develop it on my own computer. I have installed xampp, FileZilla server and client and netbeans.
I download and extract my socialengine zipped folder to into a folder within ht docs. Then I upload onto the FileZilla server. I then right click on the folder to copy the path. When I paste this into google browser I am not seeing the socialengine install wizard page where you enter your licence key.
Instead I am seeing an index page listing all the folders and other folders within ht docs directory. I have looked at many tutorials. Deleted everything and re-installed.
Can somebody please tell me what I am doing wrong.
Here are the cases to debug:
Check mod_rewrite enabled
.htaccess is available in that directory.
Server directory index set to index.php (DirectoryIndex index.php) in .htaccess file.
Check permission are fine on files and folders

drupal installation error in www folder(apache)

ohk i am facing this very weird problem .
i have a cloud server hosted with rackspace and have installed ubuntu 10.04 Lucid Lynx LTS in it. i have installed apache 2 , php and mysql server in it along with phpmyadmin.
when i download and extract drupal 7 default or any custom profiles i face this problem. When i extract it using tar -xzvf it extracts by default into /var/www/drupal-7.12/ and set permissions to 777 using chmod
not as you know that for website name to redirect to a ip address i should have index file in www folder instead of a sub folder so i copy all the files into www folder.
the problem is the drupal install page(in case of installation profiles) or index.php works in case of drupal default installation when they are in the subfolder(drupal-7.12) but when i copy all the installation files into the www folder the file index.php or install.php dont work and shows server error.
i tried many things to get it to work but no use.
need help . Thanks
i figured out the problem myself. htaccess file wasnt copied. NOw as i have copied it everything works.

PHP sample project with wamp

I installed wamp stack and then installed netbeans ide. The port number for apache is 100.
Created one PHP project at
C:\Users\aaa\Documents\NetBeansProjects\PhpProject2
and project URL http://localhost:100/PhpProject2/
When I click on run, I see the message "http://localhost:100/PhpProject2/index.php URL not found on the server".
What else I need to do to connect http://localhost:100/PhpProject2/index.php to C:\Users\aaa\Documents\NetBeansProjects\PhpProject2?
Please help.
You need to configure Apache's webroot to be C:\Users\aaa\Documents\NetBeansProjects (search for DocumentRoot in the file httpd.conf).
Or you can move/copy your files to the existing webroot, which may be something like c:\wwwroot.
Apache doesn't just magically know where you put your website files, and setting the URL inside NetBeans doesn't actually configure the webserver (I think it's just so that auto-generated links are right).
If you go to http://localhost:100/, what do you see? What is your web root? The folder needs to be in your web root, and I would be surprised if it is C:\Users\aaa\Documents\
I did a Google search for "wamp stack" and found a product by Bitnami... if this is the one you are using, the default web root is C:\Program Files\BitNami WAMP Stack\apache2\htdocs\. If that is indeed the case, then you'd need to move the NetBeansProjects folder to there. (source: http://bitnami.org/files/stacks/wampstack/5.3.6-0/wampstack.pdf page 7)
You need to look into aliasing. That will let you more or less assign directories in the url path to arbitrary directories on your file system.
You have to move your files to your root folder of the Apache installation (htdocs). You should refer to your WAMP installation for where that is located. Personally, I like to use XXAMP for installation.
Netbeans is just an IDE, it doesn't serve the files.

Flex (with Zend) running on a IIS-Server

I have a Flex-Page which connects to a MySQL-DB through PHP (Zend). I run the Flex-Page on an IIS-Server (Windows Server 2008 R2) and it works. But the problem is, that i specified the web root to the C:\inetpub\wwwroot directory (there php is running). On the server i want it on another directory. (Now i have the main Flex Page in the directory für the webserver, and the php files are in the wwwroot directory).
When i specify the web root to an other directory, nothing works, not even on my local machine.
I hope you know what my problem is.. ^^ (sorry for my bad english)
Thanks in advance!
You'll need to set up a virtual directory on IIS if you want your files served from other than the web root. So google "IIS virtual directory add".

Categories