• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1551
  • Last Modified:

How to setup my PHP site in my local PC?

Hi all,

i have easyphp 1.8 installed in my pc..i am using windows xp Professional. i tried to install this script to my local folder which is www.

however after i setup everything..i recieve below error... :(

below is the error i found :(

Notice: Undefined index: userid in c:\program files\easyphp1-8\www\clickers\index.php on line 16

Notice: Undefined variable: REMOTE_ADDR in c:\program files\easyphp1-8\www\clickers\includes\conn.php on line 58

Notice: Undefined variable: REMOTE_ADDR in c:\program files\easyphp1-8\www\clickers\includes\conn.php on line 58

Notice: Undefined variable: REMOTE_ADDR in c:\program files\easyphp1-8\www\clickers\includes\conn.php on line 59

Notice: Undefined index: onlineuid in c:\program files\easyphp1-8\www\clickers\includes\conn.php on line 62
0
benreason
Asked:
benreason
  • 27
  • 24
  • 12
  • +3
2 Solutions
 
ellandrdCommented:
dont use easy php - downlaod and install php from the php.net website
there is a windows installer available too and it will also configure IIS for you. if your on apache its abit more tricker but i can help you - step by step...
0
 
ellandrdCommented:
0
 
benreasonAuthor Commented:
hi ellan,

i need help on this..please guide me what should i follow? or what best for me..?
0
Veeam and MySQL: How to Perform Backup & Recovery

MySQL and the MariaDB variant are among the most used databases in Linux environments, and many critical applications support their data on them. Watch this recorded webinar to find out how Veeam Backup & Replication allows you to get consistent backups of MySQL databases.

 
benreasonAuthor Commented:
Is there any way so that i can make the easyphp works fine?

and if i were to change the php5 installer, should i uninstall my easyphp?

i need a clean and clear explaination with this. and consider my self a dummy.
0
 
ellandrdCommented:
your getting these errors as your easy PHP has error reporting turned on by default.  this is afeature for new developers.  it alerts of their simple mistakes!

it can be turned too. http://uk.php.net/error_reporting.

the errors basically mean you have not initisaled your variables at the top of your page...

$var = '';
$var = 'ellandrd';

if you just have $var = 'ellandrd'; and have error reporting turned on, you will get error undefined index $var on line....as you didnt define it first...

ellandrd
0
 
ellandrdCommented:
>>Is there any way so that i can make the easyphp works fine?

yes read by last comment on how to fix the errrors..

>>and if i were to change the php5 installer, should i uninstall my easyphp?

yes but switching is the best thing you can do - that way you will have all the latest functions and features that PHP provides...  

easyphp is cr*p IMHO!
0
 
benreasonAuthor Commented:
so now please guide me how to get started with all this..?

i will remove my easyphp.. and start a new fresh things..can we? i need a clean and clear..guideline as i am very new with php..as i only work with ASP.. please help thanks
0
 
ellandrdCommented:
ok i am ready.

ok first just uninstall easyphp from your machine.  what server do you use? Apache or IIS?

when we are finished and your happy i will give you a list of site that you can learn PHP from as they will get you up to date...

ellandrd

gonna be cheeky and say "these this help for 50 points.... :-("
0
 
benreasonAuthor Commented:
since i am using easyphp all things was in the package which is using apache..so now i will have to install apache?

and i prefer APACHE
0
 
ellandrdCommented:
no no, i assummed you where on apache... if your on IIS that is fine - works great with PHP too... it is also easier to configure IIS for PHP that it is for apache... but the choice is yours
0
 
benreasonAuthor Commented:
Ellan,

i dont have IIS with my pc now, as im having trouble to setup it. and im affraid using IIS will conflict my hosting account which run on Apache Server.

please just let me know what should i do to start with this...from the beginning..to get my script work in my local pc..
0
 
ellandrdCommented:
ok i suggest going for apache then. i think the lastest verion is 2.2.2 and can be downlaoded from: http://archive.apache.org/dist/httpd/binaries/win32/

pick the one labelled: apache_2.2.2-win32-x86-no_ssl.msi 01-May-2006 14:26  4.2M

install it and get back to me... also downlaod the php installer form above...
0
 
benreasonAuthor Commented:
ok now downloading the software, once installed will post again.
0
 
benreasonAuthor Commented:
software downloaded and installing Apache Server, however there is one page asking for sever name..and so on..what should i put there?
0
 
ellandrdCommented:
it shouldnt! btw way before we go any futher are you on window or *nix?
0
 
benreasonAuthor Commented:
im on windows XP.

apache server installed, and when i tried to installed the PHP5, it say error, the httpd at apache are not configure.??
0
 
ellandrdCommented:
shit - if you are using windows xp then that location i gave you earlier is the wrong version - it was for linux as im on a linux server i never though of asking...

i'll get you a windows version

sorry! the PHP is fine though...no need to worry about that...
0
 
ellandrdCommented:
0
 
benreasonAuthor Commented:
if that version for LINUX i dont think it will run in windows i mean i dont think it will installed
0
 
ellandrdCommented:
it dont matter what you type in for your server name, mine is "seandelaney" and any email address...
0
 
benreasonAuthor Commented:
Top build? whats the file name? i dont get u
0
 
benreasonAuthor Commented:
ok it run already but cant installed php5
0
 
ellandrdCommented:
eh? so you have apache downloaded and installed (windows version)
0
 
benreasonAuthor Commented:
yup, already installed, as if that version for LINUX it wont be in exe format. so now APache installed.
0
 
ellandrdCommented:
ok install php now.

 then follow these steps: http://www.phpbuilder.com/board/archive/index.php/t-10284418.html

i have to go but i will be back later...

hope you can follow the steps if not search google for step by step guide...
0
 
hoomanvCommented:
I dont recommend to use PHP Windows Installer as it does not have any external extensions included
later you'll face problems when you want to connect to MySQL because the extension is not bundled
try downloading the full package (it does not configure your web server automaticly, you have to do it manually)
read the readme.txt to learn how to config it, its easy :)
0
 
ixtiCommented:
If you don't want to read manuals on how to make apache and php work,
then I guess the easiest way to use ready to use soplutions such as
(easyPHP I never tried so can't say anything about it):
WAMP5 - http://www.wampserver.com/
The Uniform Server - http://www.uniformserver.com/index.php
Apache2Triad - http://apache2triad.net/
VertigoServer - http://vertrigo.sourceforge.net/

For me - it's easier to install apache, php and mysql by myself.
I can give you an installed server (my server), so all you have to do is
to uzip it in d:\server and then only edit hosts file (in c:\windows\system32\drivers\etc)
to add virtual hosts and add the same named directory to d:\server\htdocs
but it is about 35 Mbytes
0
 
str_kaniCommented:
I wonder why you had to remove easyphp!!!

you cannot call this a error, just a notice....
Notice: Undefined index: userid in c:\program files\easyphp1-8\www\clickers\index.php on line 16

I think this is already notice by an expert. In my view your easyphp is working fine... instead of running a big file try with something like...

<?php
echo phpinfo()
?>
I am sure this will be working for you...

see this for working with the error reporter...

/ Turn off all error reporting
error_reporting(0);

// Report simple running errors
error_reporting(E_ERROR | E_WARNING | E_PARSE);

// Reporting E_NOTICE can be good too (to report uninitialized
// variables or catch variable name misspellings ...)
error_reporting(E_ERROR | E_WARNING | E_PARSE | E_NOTICE);

// Report all errors except E_NOTICE
// This is the default value set in php.ini
error_reporting(E_ALL ^ E_NOTICE);

// Report all PHP errors (bitwise 63 may be used in PHP 3)
error_reporting(E_ALL);

// Same as error_reporting(E_ALL);
ini_set('error_reporting', E_ALL);


Hope this helps you.
0
 
str_kaniCommented:
go here if you need more information about
http://in.php.net/error_reporting
0
 
ixtiCommented:
Sorry, didn't read question carefully. str_kani is right... But it's better
to turn on ALL errors and notices and stricts when you developing.
so in this case benreason, you have to check where you declaring
your array, and why it not have this key.
Or simply check if this key exists before using it.... Like this:
<?php
$var = array(
    'user' => 'name of user',
    'id' => 1
);

if (isset($var['user_id'])) echo $var['user_id'];
?>
0
 
benreasonAuthor Commented:
Looks im dont know which answer is good for me now, as everbody have different level of answer, the main problem here is that i am new with PHP and know nothing.

i need you to help me with this problem. either the error from easyphp 1.8 or its nothing with easyphp.? wondering if somebody here can come up with a good answer and guide me thru...from starting to finish.

should i use Easyphp ???

or install apache,mysql, and php one by one and not in package?

anybody..?

i dont know what the heck with the error is as, im trying to get it works in my local pc, but i dont have any problem make it working in my hosting server..

can someone help me on this??
0
 
str_kaniCommented:
i was using easy php when i started to learn php, (2 years ago),

it was helpful for me and i understood how everything works there and now i setup everything individually when needed.
i.e Webserver,database etc.

I suggest, you try with the easyphp that will be easy for the moment, just install easy php and start working on. When you get such errors (errors specified in the question, all you need to do is add the following linei n the code, recommented to be at line 1.

error_reporting(E_ALL ^ E_NOTICE);

this should get things working, post here if you have any problems...
happy coding.!
0
 
benreasonAuthor Commented:
Kani, thanks for your response,

After i installed the EasyPHP do i need to set anything ? please let me know..?

ABout the error, last nite i tried it using easyphp that error come out..and when i tried to login, it wont allow me it will return many errors...i dont know why this happen.

about adding the code ..i dont understand, let say i have many page around 100 pages, do i have to add it in all page?

please clarify..
0
 
str_kaniCommented:
no, you don't have to do anything. it's ready to use as soon as you compete the installation.

for the error reporting you have two options,
1) add these on all the files
2) add in the files you include (may be a header file)
3)or you can set this in your php.ini file

For the moment for tesing add that line in the code...
0
 
ellandrdCommented:
ok for starters i already identified what was causing the errors when i posted at : 05/11/2006 03:44PM BST.

the reason why I suggested to use PHP5 was it is better for a number of reasons...

then after getting asked to "i need help on this..please guide me what should i follow? or what best for me..?"

i suggested installed php5 on IIS as it will configure IIS for you and i though this was ideal as you are a beginner...

then why the decussion leaded into apache ws due to me asking when server he currently used:

and the reply was "since i am using easyphp all things was in the package which is using apache..so now i will have to install apache?

and i prefer APACHE"

hence why i suggested installing apache...

str_kani

>>I wonder why you had to remove easyphp!!!

i was asked to advice what was best - this was my advice!  and i already provided a url on error reporting so ben could read about it for himself...

>>for the error reporting you have two options,
>>1) add these on all the files
>>2) add in the files you include (may be a header file)
>>3)or you can set this in your php.ini file

since you have installed easyphp again, and your getting the same errors again, again im telling you it is due to error reporting been turn on.  and for starters you dont need to add "includes" to all you pages, even if you had 100 pages...

if php was installed, you should be able to open up php.ini ina  text editor and turn off error reporting that way you dont need to include: error_reporting(0); in each page you create!

if you do a search for your php.ini file you should fine it.. it will either exist in your php directory (c:/php/) or in the windows directory: (c:/windows/ or c:/winnt/)

i do agree that instead of trying to run a large complex file use <?phpinfo();?> to check if all is working is better...

Ben

what is the latest in this situation?  are you still having problems or have you got it all working?

ellandrd
0
 
hoomanvCommented:
Im agree with ellandrd
installing apache + php5 is a more professional approach
0
 
ellandrdCommented:
hoomanv

thank you for agreeing with me - i have had alot of people disagreeing with my advice lately and im kinda getting annoying at it...
0
 
benreasonAuthor Commented:
ellandrd,

i still did not installed easyphp yet, as i saw all answer in blur and i cant reallt understand...

so now i have apache server installed and php 5 installed. and mysql not yet.

so now i cant run the site at all as all things are not yet finished.

so please let me know about this,.
0
 
ellandrdCommented:
ok first try this: create new php page with this as its contents...

<?phpinfo()?> run it and see what it says - it should display all your configuration setting.
0
 
hoomanvCommented:
these lines are my configuration process, I've made them to remember them the next time I want to install
----------------------------
extract to c:\php  // Im using the full package not windows installer version

set PATH=%PATH%;c:\php      // setteing the environment variable
make a copy of php.ini-dist as php.ini at c:\php

// configure php.ini
// uncomment these lines
  extension=php_mysql.dll
  extension=php_gd2.dll
// set this
  extension_dir = "ext/"

// in httpd.conf add theseines
 LoadModule php5_module "c:/php/php5apache2.dll"
 AddType application/x-httpd-php .php
 PHPIniDir "c:/php/"
0
 
ellandrdCommented:
hoomanv

what version of apache have you got?
0
 
hoomanvCommented:
2.0.55
0
 
benreasonAuthor Commented:
ellan,

wher to put the files? which directory? as i dont see where to put it
0
 
ellandrdCommented:
these

// in httpd.conf add theseines
 LoadModule php5_module "c:/php/php5apache2.dll"
 AddType application/x-httpd-php .php
 PHPIniDir "c:/php/"

go in your httpd.conf. found in: C:\Program Files\Apache Group\Apache2\conf

your php.ini file is found in C:\windows.
0
 
ellandrdCommented:
im abit confused, hoomanv

see your build 2.0.55 does your modules part look like this:

LoadModule negotiation_module modules/mod_negotiation.so
#LoadModule rewrite_module modules/mod_rewrite.so
LoadModule setenvif_module modules/mod_setenvif.so
#LoadModule speling_module modules/mod_speling.so
#LoadModule status_module modules/mod_status.so
#LoadModule unique_id_module modules/mod_unique_id.so
LoadModule userdir_module modules/mod_userdir.so
#LoadModule usertrack_module modules/mod_usertrack.so
#LoadModule vhost_alias_module modules/mod_vhost_alias.so
#LoadModule ssl_module modules/mod_ssl.so

LoadModule php5_module "c:/php/php5apache2.dll"

?
0
 
hoomanvCommented:
mine looks like this

LoadModule access_module modules/mod_access.so
LoadModule actions_module modules/mod_actions.so
LoadModule alias_module modules/mod_alias.so
LoadModule asis_module modules/mod_asis.so
LoadModule auth_module modules/mod_auth.so
#LoadModule auth_anon_module modules/mod_auth_anon.so
#LoadModule auth_dbm_module modules/mod_auth_dbm.so
#LoadModule auth_digest_module modules/mod_auth_digest.so
LoadModule autoindex_module modules/mod_autoindex.so
#LoadModule cern_meta_module modules/mod_cern_meta.so
LoadModule cgi_module modules/mod_cgi.so
#LoadModule dav_module modules/mod_dav.so
#LoadModule dav_fs_module modules/mod_dav_fs.so
LoadModule dir_module modules/mod_dir.so
LoadModule env_module modules/mod_env.so
#LoadModule expires_module modules/mod_expires.so
#LoadModule file_cache_module modules/mod_file_cache.so
#LoadModule headers_module modules/mod_headers.so
LoadModule imap_module modules/mod_imap.so
LoadModule include_module modules/mod_include.so
#LoadModule info_module modules/mod_info.so
LoadModule isapi_module modules/mod_isapi.so
LoadModule log_config_module modules/mod_log_config.so
LoadModule mime_module modules/mod_mime.so
#LoadModule mime_magic_module modules/mod_mime_magic.so
#LoadModule proxy_module modules/mod_proxy.so
#LoadModule proxy_connect_module modules/mod_proxy_connect.so
#LoadModule proxy_http_module modules/mod_proxy_http.so
#LoadModule proxy_ftp_module modules/mod_proxy_ftp.so
LoadModule negotiation_module modules/mod_negotiation.so
#LoadModule rewrite_module modules/mod_rewrite.so
LoadModule setenvif_module modules/mod_setenvif.so
#LoadModule speling_module modules/mod_speling.so
#LoadModule status_module modules/mod_status.so
#LoadModule unique_id_module modules/mod_unique_id.so
LoadModule userdir_module modules/mod_userdir.so
#LoadModule usertrack_module modules/mod_usertrack.so
#LoadModule vhost_alias_module modules/mod_vhost_alias.so
#LoadModule ssl_module modules/mod_ssl.so
0
 
hoomanvCommented:
plus

LoadModule php5_module "c:/php/php5apache2.dll"
0
 
ellandrdCommented:
well see my :LoadModule php5_module "c:/php/php5apache2.dll"  that dont work for me... im getting services stopped... but if i add # infront of it... service starts...

p.s im a windows machine at the mo... hence why im asking.. yesterday i was on a unix machine at work
0
 
ixtiCommented:
ellandrd, you have to choose right path to your php5apache2.dll or php4apache2.dll
0
 
ellandrdCommented:
choose the right path?  i read that apache 2.2.2 dont work with php5apache2.dll API anymore... so i dont know what to do...
0
 
ixtiCommented:
ellandrd, I haven't found anything like this, in docs and changes on apache 2.2.2
Today, I'll try to install Apache 2.2.2 with PHP 5.1.4 just to test if it works :))
0
 
ixtiCommented:
Seems it's PHP's error.
And on installation guide on php.net (http://www.php.net/manual/en/install.windows.apache2.php), some guys told about it, and gave a solution. Solution is located on http://www.apachelounge.com/
There you'll find compiled Apache 2.2.2 binary for windows with SSL support (on oficial site http://httpd.apache.org, you won't find it, but find the solution how to compile SSL support by yourself :))

So to start Apache 2.2.2 with PHP 5.1.4 yo have to:

1. Download ans Install PHP 5.1.4 (optional) If you have it, then pass this step
    (http://www.php.net/get/php-5.1.4-Win32.zip/from/a/mirror)

2. Download and Install Apache 2.2.2 (optional) If you have it, then pass this step
    (http://archive.apache.org/dist/httpd/binaries/win32/apache_2.2.2-win32-x86-no_ssl.msi)
    or alternatively compiled binary with ssl support
    (http://www.apachelounge.com/download/binaries/httpd-2.2.2-win32-x86-ssl.zip)

3. Download alternative PHP5 handler
    (http://www.apachelounge.com/download/mods/php5apache2.dll-php5.1.x.zip)

4. Unpack php5apache2.dll-php5.1.x.zip to some directory, and follow 'Readme First.txt' instructions:
    - Copy php5apache2.dll to your php folder (eg. c:/php)
    - Copy httpd.exe.manifest to apache2/bin
    - Finally install the Visual C++ 2005 Redistributable Package (the binary is build with VC 2005).  
      Download it from:
      (http://www.microsoft.com/downloads/details.aspx?familyid=32BC1BEE-A3F9-4C13-9C99-220B62A191EE&displaylang=en)
      When you have already installed the .NET framework 2 you can skip this step.

      # Add to your httpd.conf
      LoadModule php5_module "c:/php/php5apache2.dll"
      AddType application/x-httpd-php .php
      # configure the path to php.ini
      PHPIniDir "C:/php"

      Note: Remember to substitute the c:/php for your actual path to PHP in the above examples.


After these steps everything will works fine. Just tested it now - everything is fine.
Hope it helps you.
0
 
ellandrdCommented:
its kinda!  PHP developers have released a new apache handler as the old DLL didnt use API that worked with Apache 2.2.2, but it did for all the other versions of Apache.  

Apache 2.x.x you have to use php5apache2.dll
Apache 2.2.2 you have to use php5apache2_2.dll

you can get the php5apache2_2.dll from the latest build in the snapshots created ever few hours at: http://snaps.php.net/

 then this code:

# Add to your httpd.conf
LoadModule php5_module "c:/php/php5apache2_2.dll"
AddType application/x-httpd-php .php
# configure the path to php.ini
PHPIniDir "c:/php"  

will work fine!

now that me fixed up so benreason - have you been following and understand or are you still stuck?

ellandrd
0
 
benreasonAuthor Commented:
im totally still stuck over here.
0
 
ellandrdCommented:
ok have you installed apache? it is working?  have you installed php5?
0
 
ixtiCommented:
benreason,
there was a lot of recommendations of how to install apache + php.
Also there were a lot of solutions how to fix your errors.
To be more clear, I'll try to explain everything step by step:

1. Create 'phpinfo.php' in your web dir (www), and put this line in it:
<?php phpinfo(); ?>
After this open up a new browser window an type in addres bar:
http://localhost/phpinfo.php
If it will display a PHP's Info page, then everything is working fine.
PS I'm sure that it WILL display you PHP Info, because of
 'Notice: Undefined index: userid...' means that PHOP is working,
and trouble in your conn.php

2. So, depending on your error reports:
    * You are trying to get value of key 'userid' of some array on line 16
        in your 'clickers\index.php', but that array doesn't have such key.
    * Also you are trying to use (or check) undefined variable $REMOTE_ADDR
        in your 'clickers\includes\conn.php' on lines 58-59
    * And finaly you are trying to get value of key 'onlineuid' of some array
        on line 62 in your 'clickers\includes\conn.php', but that array doesn't have such key.
To understand what I'm taling about, please look at this example:
<?php
$a = array(
    'key' => 'Array's value 1',
    'index' => 'Array's value 2'
);
$b = 'Hello World!';

// So we have two variables: $a (which is array)
// and $b (which is simple string);
// Now let's use them somehow:

echo $b; // This will output a string: Hello World!
echo $a['key']; // This will output a string from array's key 'key': Array's value 1

// Above code will produce no errors. And the following will
// produce notices as in your case:

echo $c; // Will outpt nothing and produce a notice, thatthere is 'Undefined variable c'
if ($c) {
    echo 'I'm just trying..'; // Will do the same
}
echo $a['key1']; // Will output nothing and produce 'Undefined index key1' because array $a
                        // does not contain such key
?>
0
 
ixtiCommented:
ellandrd, your solution about apache 2.2.2 + php 5.1.4 is pretty easier,then that suggested by me :))
0
 
benreasonAuthor Commented:
hi all,

wierd when i use easyphp, and i install joomla and mambo CMS,

its work fine no error at all.

any ideas?
0
 
ixtiCommented:
What's work fine? Please describe wht do you want,
because right now, me (for example) is confused and
I really don't understand now what do you want.

EasyPHP - is a windows apache + php + mysql package
Joomla and Mamba - is php+mysql based cmses

What do you mean?

If Joomla or Mambo works fine, and something else
(for example your script) produces error, then there
is an error in your script, and solutions you can find
above!

Or you are trying to use jast some parts of that CMSes
in your own develops?

Or what?
0
 
benreasonAuthor Commented:
ixti,

it was like this the CMS and the script is different things. as i need to see the script works in my local server compared to the server hosting.

The script works fine in my hosting server without any error. and typically i have two version of script different function. and both works fine in my hosting server

but not in my local server

but when i install easyphp, and install the CMS there is no error at all in that CMS

any ideas on this?

as i dont think the script is a problem.

please let me know. thanks!
0
 
ellandrdCommented:
first of all have you apache and php working?  can you see the php configuration when you do <?phpinfo();?>
0
 
ixtiCommented:
ellandrd, sure his apache and php is working. Because if they not, then this won't be displayed:
Notice: Undefined index: userid in c:\program files\easyphp1-8\www\clickers\index.php on line 16
Notice: Undefined variable: REMOTE_ADDR in c:\program files\easyphp1-8\www\clickers\includes\conn.php on line 58
...

benreason, the only difference between definitions of script and CMS is that CMS is a collection of scripts that works together!
Read some info on defenitions here:
http://en.wikipedia.org/wiki/Script
http://en.wikipedia.org/wiki/Scripting_language
http://en.wikipedia.org/wiki/CMS
Cite:
"Content management system, a script or program for maintaining web sites"
"Script, in computer programming, refers to an instance of a Scripting language."

So, please, don't tell me the difference between script and CMS.
And the problem is in script! You can agree, you can disagree, but the problem is in script...
Sorry, but as russians say: "Don't snap a mirror, if your face is not perfect..."
0
 
ellandrdCommented:
ixti

ben went from using easyphp (apache+php+mysql) to just using apache + mysql + php as separate builds (not in a package).

if you remember and/or reread the whole conversion... ben uninstalled easyphp and installed apache separate, php separate and mysql separate.  we then came into trouble as ben couldnt get php working on apache.  ten ben said he was a cms working?  this confused me too, as it wasnt clear if this cms was working on his localhost or actually on a live server on the WWW...

so i asked to know if ben had apache+php working on localhost?

ben

>>but when i install easyphp, and install the CMS there is no error at all in that CMS

yes that is because when you DID have easyPHP installed, it set everything up fine, but it is better to use apache and php from the actually sites - apache.org and php.net instead of using a package hence this long conversion...

what i need to know is, have you got php5 and apache2.2.2 working on localhost or not? if so then the script that you trying to use, should be working fine and any cms that you install regardless of the developer should work fine too both on localhost and your hosting server.

<offtopic>this is getting very confusing to what ben actually has or doesnt have working as there is so many people telling him different things and we are all getting mixed up and this thread is a MESS!  we need to set aside what is working and what isnt working and get this question resolved and closed...</offtopic>
0
 
ixtiCommented:
ellandrd, sorry, didn't note that he uninstalled easyPHP :))
0
 
ellandrdCommented:
ixti

it is ok mate!  this thread is a MESS and we need to sort ben out...

ben, myself and ixti are waiting for your response!
0
 
benreasonAuthor Commented:
ahaha ixti, and elland..this thread really mess out. and finally i think i would like to use easyphp as i found real trouble using separeted intstallation of site.

can help me? what if we create a new thred for this..? please?
0
 
benreasonAuthor Commented:
So with this i need a fresh explaination on how to set easyphp 1.8 . so that my site working.

FYI, my CMS mambo and joomla, working fine using easyphp installation which placed in my local server www. and not my hosting server.


but, when i tried to install the script it doesnt work at all. and produce error. so i guess there is nothing wrong with my pc..

But now i uninstall all my Php,apache and mysql. and re-install my easyphp 1.8

please let me know...

#############################################################################################################################################################################################################################################################################################################
#################################
###################################
################################################################
#########################################################################
###########################################################################
############################################################################
###########################################################################################
0
 
ixtiCommented:
benreason,
the reason of why Joomla and Mambo works on your local server is that CMSes are very platform dependent.
This means, that if some CMS is programmed to use with MySQL 4.1.x then it can't work under MySQL 4.0
(in most cases). Or if CMS is programmed to work with PHP 5 it can't work with PHP 4 (also in most cases).
In front, if CMS is programmed to work with PHP or MySQL versions erlier then installed, then it will work.
This means that if your CMS is programmed to work with MySQL 4.0.x then it will work on MySQL 4.1.x, and
if it programmed to work with PHP4, then it will work with PHP 5 (BUT! It will produce a notices, because in
PHP 5 some functions and structres are deprecated. For example:
<?php
class MyClass
{
    var $mVar1; // will work in PHP4 fine, but in PHP5 will produce a notice that 'var' is deprecated and suggest
                       // to set 'visibility' public, protected or private
    public $mVar2; // Will work in PHP5, but cause an error in PHP4
   // ...
}
?>

Hope this is clear, and we can follow to next step. :))
Installing easyPHP is very easy, so I guess it won't be something difficult. Otherwise, if you need, I can
write a step by step installation guide of easyPHP (if this is not included in easyPHP's manual).

Depending on that you and your hoster are using Apache as your http(s) server, you can
change some PHP's configuration directives using '.htaccess' in root of your sites.

PS I tottaly agree (and I think that ellandrd will agree too) that it's better to create a new thread.
0
 
benreasonAuthor Commented:
Please write me the Easyphp installation. i already installed it, i just run the exe files and its done.

however im affraid that i missed something, who knows there is something to set
0
 
ixtiCommented:
I guess thehere's nothing to do more. So the installation looks like:
1. Download executable binary from http://prdownloads.sourceforge.net/quickeasyphp/easyphp1-8_setup.exe?download
2. Execute easyphp1-8_setup.exe.
    2.1. Choose prefered installation language (English)
    2.2. Read and Accept License Agreement
    2.3. Choose installation destination path (C:\Program Files\EasyPHP1-8)
    2.4. Select Start Menu group in which store links to executebles (EasyPHP)
    2.5. Click 'Install' and wait until installation complete.
3. Go to Start menu, Select EasyPHP group, and run EasyPHP
That's all

In EasyPHP control bar you can see your Apache and MySQL server status.
If both are green (OK) then everything is ok, and you can run your php programs.

Start your browser and type "http://localhost/" in your address bar,
you will see easyPHP's welcome page. It uses PHP, so if it displayed
without any errors, then everything is fine , and Apache, PHP and MySQL are
installed and configured properly.
0
 
benreasonAuthor Commented:
Ok and this one done :) now next step is my script
0
 
benreasonAuthor Commented:
Due to no response to this, i would like to close this thread. thanks
0
 
pateatCommented:
I have installed joomla on my windows 2003 server (with exchange). It is working well except for the email part. The Joomla site will send to all users that have email setup on the server but will not send to any external email address. The email disapears into thin air, no error message. The Joomla settings are smtp, and the server name. The server does not require authentication for smtp.

Any help would be most appreciated.

0
 
ellandrdCommented:
try leaving the smtp settings field blank..

if you have exchange installed, you dont need to add the smtp settings... it should automatically detect them since it a server...

give it a try...

p.s - why have you not opened another thread...?
0
 
hoomanvCommented:
What about me ? :)
0

Featured Post

Granular recovery for Microsoft Exchange

With Veeam Explorer for Microsoft Exchange you can choose the Exchange Servers and restore points you’re interested in, and Veeam Explorer will present the contents of those mailbox stores for browsing, searching and exporting.

  • 27
  • 24
  • 12
  • +3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now