Install SC on Mac OSX

Has anybody tried installing SC on OSX, and is doing development there?

If so, are there directions or instructions anywhere on how to set it up?

Re: Install SC on Mac OSX

I am using Linux, but have not tried OSX. I would think the install is about the same but I could be wrong.

In Linux:
Download arxhive
unzip to dir
make sure _lib is given full permissions
login

but OSX may be a different animal.

Regards,
Scott.

Re: Install SC on Mac OSX

The trick is to have the zend optimizer for mac installed and PHP with mbstring an zip extensions enabled.

V?tor Jamil

Re: Install SC on Mac OSX

hi there,

I have everything set up right :
php, mbstring, gd, and zip extensions enabled.
I have uploaded the ZIP on the server, extracted it and now, when I try to install, i got a 500 internal server error…
do you know why??

Re: Install SC on Mac OSX

when I open and view the install.php file i got this :

is this normal??

<?php @Zend;
4123;
/* �?!This is not a text file!??� */
print <<<EOM
<html><body><a href=“http://www.zend.com/products/zend_guard”><img border=“0” src=“http://www.zend.com/images/store/safeguard_optimizer_img.gif” align=“right”></a><center><h1>Zend Optimizer not installed</h1></center><p>This file was encoded by the <a href=“http://www.zend.com/products/zend_guard”>Zend Guard</a>. In order to run it, please install the <a href=“http://www.zend.com/products/zend_optimizer”>Zend Optimizer</a> (available without charge), version 3.0.0 or later. </p><h2>Seeing this message instead of the website you expected?</h2>This means that this webserver is not configured correctly. In order to view this website properly, please contact the website’s system administrator/webmaster with the following message:<br><br><tt>The component “Zend Optimizer” is not installed on the Web Server and therefore cannot service encoded files. Please download and install the Zend Optimizer (available without charge) on the Web Server.</tt><br><br><b>Note</b>: Zend Technologies cannot resolve issues related to this message appearing on websites not belonging to <a href=“http://www.zend.com”>Zend Technologies</a>. <h2>What is the Zend Optimizer?</h2><p>The Zend Optimizer is one of the most popular PHP plugins for performance-improvement, and has been available without charge, since the early days of PHP 4. It improves performance by scanning PHP’s intermediate code and passing it through multiple Optimization Passes to replace inefficient code patterns with more efficient code blocks. The replaced code blocks perform exactly the same operations as the original code, only faster. </p><p>In addition to improving performance, the Zend Optimizer also enables PHP to transparently load files encoded by the Zend Guard. </p><p>The Zend Optimizer is a free product available for download from <a href=“http://www.zend.com”>Zend Technologies</a>. Zend Technologies also developed the PHP scripting engine, known as the <a href=“http://www.zend.com/products/zend_engine”>Zend Engine</a>.</p></body></html>
EOM;
exit();
__halt_compiler();
?>

2004072203�3�323�835�x?
?2&p?????Tx???24761??:???V?%??Akp?:p�???h??�
??SR?2?RauF>?<???�vvv�?q
s?�?$?�5܆k??H?�?
ohNBu�?<4g?&?]=??2F????Y???3fp?Du?C?Yb??!f?pYp?cHh0??,??f?�?????,??%?TV�?x??f???W???)D?f?J2?�y-%?,5G?'3I? ?@?)?85ؒ???K?
p@? ?Bh Q?S?R??7c?FK!???X0??Z?d???��;]?%E????<?F????斦5�&
oN

Re: Install SC on Mac OSX

It is because Zend Optimizer is missing.

You should install Zend Optimizer for mac os.

Re: Install SC on Mac OSX

I have a MBP and I tried to install on Snow Leopard, but I couldnt install Zend Optimizer, I tried too many differents ways with no result. So I had to install Parallel Desktop :s

Re: Install SC on Mac OSX

I tried exactly the same, no success. I assume scriptcase was never set up on a MAC OSX . The whole description is absolutely useless: No chance to set up Zend Optimizer correct nor the Scriptcase Modules. What is so difficult to provide a clear description for the users?

Re: Install SC on Mac OSX

Hi Mac Users,
looks like as the Scriptcase team is not talking with us. Below is what I found so far. It is not a full solution, nevertheless I am going to post it here, perhaps someone has an idea how to proceed further.
In case you are running your Mac with OSX 10.6, Snow Leopard there are mutiple problems to get your licensed scriptcase version ro run. The main reason is the Zend Optimizer, I am not sure what it is good for. I assume it has something to with the license check, because the real problem is to get the execution permission for the ZendID. All the descriptions I found are for Linux, e.g.
sudo apt-get install ia32-libs
sudo apt-get install ia32-libs-gtk
sudo apt-get install ia32-libs-sdl
The statements had no result on OSX 10.6, because those packages are not available.
First I installed XAMPP for MAC, no success.
I installed MAMP in the latest version. It includes the Zend Optimizer! and works on 10.6
http://www.mamp.info/de/index.html

Extract the scriptcase version 5 zip under the htdoc of the MAMP directory.
The required SQLite version comes with MAMP. (but samples were not installed!)
Now I was at least able to start the scriptcase installation process by calling localhost:8888/scriptcase/install.php.
I left the license code blank, because I could not proceed any further (=> ZEND ID execution permission)
During the next steps I was able to configure the system. Some minor adjustments are necessary in php.ini.
add to extensions:
extension=zip.so
the library can be found under xampp. post it into the extension directory.
Loaded the license file into scriptcase and was able to run it under a licensed version.
So far so good, now the remaining problems. I created and compiled menues, however all other application are causing the error “scriptcase is unable to identify server”. Again not clear what this means. Is it a database mismatch?

A simple alternative is certainly the installation under VMware on a virtual Windows machine. It works perfect :-(, it is like driving a Porsche with a truck trailer and does not really certify for the statement “runs on Mac OS”.

Any help, highly appreciated.

Juergen

Re: Install SC on Mac OSX

Hopefully they will find a solution for you quickly. I will say that since you are using a Mac, I was surprised you selected Windows for your VM. Perhaps you should give Linux a try for your VM instead. It it very quick and easy to setup… and faster than windows. If you install the server version (no gui), then LAMP is already included at time of install.

After years of using Windows, I use Linux as my main OS, I could not be happier.

Regards,
Scott.

Re: Install SC on Mac OSX

Scott,
I can only agree. Problem is that scriptcase is not the only troublemaker… I never run Linux as a virtual machine, perhaps I should set it up. Is it possible to connect from a virtual machine to a sql database on OSX 10.6? So far I am using NAT, perhaps it requires direct connection or a bridge?

Juergen

Re: Install SC on Mac OSX

I use VirtualBox and set my network to bridged on the VM.

Here are a few quick tutorials of a install:
http://www.ubuntugeek.com/step-by-step-ubuntu-9-10-karmic-lamp-server-setup.html
http://www.howtoforge.com/perfect-server-ubuntu8.04-lts

Regards,
Scott.

Re: Install SC on Mac OSX

To explain my setup better, I have Linux as my host, and XP as a guest and they can connect fine using bridge.
I do have a friend that has Win7 as a host and Linux Server as a guest and he can connect in bridge mode.

Regards,
Scott.

Re: Install SC on Mac OSX

We have added a ZendID for Mac in Scriptcase 5.0.010
Please test it Mr. Gunter.

Re: Install SC on Mac OSX

No mention of this in the ChangeLog.
http://www.scriptcase.net/phpgenerator/changelog/changelog.php

Regards,
Scott.

Re: Install SC on Mac OSX

I have Mac OS X 10.6.3 and MAMP PRO 1.9 Webserver and Virtual Hosts. I hope to resolve this problem and to work with ScriptCase.

Thanks

Mamp Pro: http://www.mamp.info/en/mamp-pro/

Re: Install SC on Mac OSX

I tested the new version, sorry but no change. Zend ID execution permission is still not possible, secondly scriptcase cannot get online. (Please don’t tell me check your network access, that is not the problem).

Re: Install SC on Mac OSX

Open the path scriptcase5\devel\lib hird\zend and check if there is a file called zendid.mac
Delete the file zendid or rename it to zendid.bkp and rename the file zendid.mac to zendid and test.

Re: Install SC on Mac OSX

When will a version compatible with MAC OSX and Mamp?

Re: Install SC on Mac OSX

Test this:

Open the path scriptcase5\devel\lib hird\zend and check if there is a file called zendid.mac
Delete the file zendid or rename it to zendid.bkp and rename the file zendid.mac to zendid and test.